var app = getApp();
Page({
    data: {
        list : [1,2,3,4,5,6,7,8,9,10,11,12,13,14],
        i:1,
        j:14,
        flag:true
    },
    onPullDownRefresh(){

         this.setData({
            flag : !this.data.flag 
         })
         setTimeout(() => {
            wx.stopPullDownRefresh()
         }, 100);
      },
    
   
    onLoad: function (options) {
        options.list = {
            "code": "SUCCESS",
            "msg": "SUCCESS",
            "data": [{
                    "id": "18091000001001231",
                    "createById": "0",
                    "createTime": 1536508800000,
                    "modifyById": "0",
                    "now": 1537419132366,
                    "projectCode": "CC02",
                    "topImg": "upload/1809/f9c3b7c5-38b6-4721-81ac-337fc4ca4fe9.jpg",
                    "conName": "室外",
                    "conId": "18091000001000386",
                    "type": "PDT",
                    "conUrl": "upload/1809/1b38fbe8-caec-4876-98cf-09f414957ea8.jpg",
                    "isTo": "PDT",
                    "toUrl": "111",
                    "conNo": 2,
                    "projectImg": null,
                    "projectName": null,
                    "projectPrice": null,
                    "projectId": null,
                    "skuId": null,
                    "condetailId": null,
                    "saleStatus": null,
                    "productOrderInfo": null,
                    "configureDetailPro": null,
                    "configureListDto": null,
                    "configureListDtoList": [{
                            "id": "18091300001004495",
                            "createById": "0",
                            "createTime": 1536768000000,
                            "modifyById": "0",
                            "now": 1537419132366,
                            "projectCode": "CS_003",
                            "topImg": null,
                            "conName": null,
                            "conId": "18091000001000386",
                            "type": "IMG",
                            "conUrl": "upload/1809/1b38fbe8-caec-4876-98cf-09f414957ea8.jpg",
                            "isTo": "",
                            "toUrl": "1",
                            "conNo": 1,
                            "projectImg": "https://goss.veer.com/creative/vcg/veer/800water/veer-133176765.jpg",
                            "projectName": "木智工坊测试产品2红色五人座",
                            "projectPrice": "3330",
                            "projectId": "18091200001123847",
                            "skuId": "18091500001344482",
                            "condetailId": "18091000001001231",
                            "saleStatus": "SALE",
                            "productOrderInfo": null,
                            "configureDetailPro": null,
                            "configureListDto": null,
                            "configureListDtoList": null
                        },
                        {
                            "id": "18091300001004495",
                            "createById": "0",
                            "createTime": 1536768000000,
                            "modifyById": "0",
                            "now": 1537419132367,
                            "projectCode": "CS_003",
                            "topImg": null,
                            "conName": null,
                            "conId": "18091000001000386",
                            "type": "IMG",
                            "conUrl": "upload/1809/1b38fbe8-caec-4876-98cf-09f414957ea8.jpg",
                            "isTo": "",
                            "toUrl": "1",
                            "conNo": 1,
                            "projectImg": "https://goss.veer.com/creative/vcg/veer/800water/veer-133176765.jpg",
                            "projectName": "木智工坊测试产品2红色五人座",
                            "projectPrice": "3330",
                            "projectId": "18091200001123847",
                            "skuId": "18091500001344482",
                            "condetailId": "18091000001001231",
                            "saleStatus": "SALE",
                            "productOrderInfo": null,
                            "configureDetailPro": null,
                            "configureListDto": null,
                            "configureListDtoList": null
                        },
                        {
                            "id": "18091000001001231",
                            "createById": "0",
                            "createTime": 1536508800000,
                            "modifyById": "0",
                            "now": 1537419132367,
                            "projectCode": "CS_003",
                            "topImg": null,
                            "conName": null,
                            "conId": "18091000001000386",
                            "type": "PDT",
                            "conUrl": "upload/1809/1b38fbe8-caec-4876-98cf-09f414957ea8.jpg",
                            "isTo": "PDT",
                            "toUrl": "111",
                            "conNo": 2,
                            "projectImg": "https://goss.veer.com/creative/vcg/veer/800water/veer-133176765.jpg",
                            "projectName": "木智工坊测试产品2红色五人座",
                            "projectPrice": "3330",
                            "projectId": "18091200001123847",
                            "skuId": "18091500001344482",
                            "condetailId": "18091000001001231",
                            "saleStatus": "SALE",
                            "productOrderInfo": null,
                            "configureDetailPro": null,
                            "configureListDto": null,
                            "configureListDtoList": null
                        },
                        {
                            "id": "18091000001001231",
                            "createById": "0",
                            "createTime": 1536508800000,
                            "modifyById": "0",
                            "now": 1537419132367,
                            "projectCode": "CS_003",
                            "topImg": null,
                            "conName": null,
                            "conId": "18091000001000386",
                            "type": "PDT",
                            "conUrl": "upload/1809/1b38fbe8-caec-4876-98cf-09f414957ea8.jpg",
                            "isTo": "PDT",
                            "toUrl": "111",
                            "conNo": 2,
                            "projectImg": "https://goss.veer.com/creative/vcg/veer/800water/veer-133176765.jpg",
                            "projectName": "木智工坊测试产品2红色五人座",
                            "projectPrice": "3330",
                            "projectId": "18091200001123847",
                            "skuId": "18091500001344482",
                            "condetailId": "18091000001001231",
                            "saleStatus": "SALE",
                            "productOrderInfo": null,
                            "configureDetailPro": null,
                            "configureListDto": null,
                            "configureListDtoList": null
                        }
                    ]
                },
                {
                    "id": "18091300001004495",
                    "createById": "0",
                    "createTime": 1536768000000,
                    "modifyById": "0",
                    "now": 1537419132367,
                    "projectCode": "CC02",
                    "topImg": "upload/1809/f9c3b7c5-38b6-4721-81ac-337fc4ca4fe9.jpg",
                    "conName": "室外",
                    "conId": "18091000001000386",
                    "type": "IMG",
                    "conUrl": "upload/1809/1b38fbe8-caec-4876-98cf-09f414957ea8.jpg",
                    "isTo": "",
                    "toUrl": "1",
                    "conNo": 1,
                    "projectImg": null,
                    "projectName": null,
                    "projectPrice": null,
                    "projectId": null,
                    "skuId": null,
                    "condetailId": null,
                    "saleStatus": null,
                    "productOrderInfo": null,
                    "configureDetailPro": null,
                    "configureListDto": null,
                    "configureListDtoList": [{
                            "id": "18091300001004495",
                            "createById": "0",
                            "createTime": 1536768000000,
                            "modifyById": "0",
                            "now": 1537419132367,
                            "projectCode": "CS_003",
                            "topImg": null,
                            "conName": null,
                            "conId": "18091000001000386",
                            "type": "IMG",
                            "conUrl": "upload/1809/1b38fbe8-caec-4876-98cf-09f414957ea8.jpg",
                            "isTo": "",
                            "toUrl": "1",
                            "conNo": 1,
                            "projectImg": "https://goss.veer.com/creative/vcg/veer/800water/veer-133176765.jpg",
                            "projectName": "木智工坊测试产品2红色五人座",
                            "projectPrice": "3330",
                            "projectId": "18091200001123847",
                            "skuId": "18091500001344482",
                            "condetailId": "18091000001001231",
                            "saleStatus": "SALE",
                            "productOrderInfo": null,
                            "configureDetailPro": null,
                            "configureListDto": null,
                            "configureListDtoList": null
                        },
                        {
                            "id": "18091300001004495",
                            "createById": "0",
                            "createTime": 1536768000000,
                            "modifyById": "0",
                            "now": 1537419132367,
                            "projectCode": "CS_003",
                            "topImg": null,
                            "conName": null,
                            "conId": "18091000001000386",
                            "type": "IMG",
                            "conUrl": "upload/1809/1b38fbe8-caec-4876-98cf-09f414957ea8.jpg",
                            "isTo": "",
                            "toUrl": "1",
                            "conNo": 1,
                            "projectImg": "https://goss.veer.com/creative/vcg/veer/800water/veer-133176765.jpg",
                            "projectName": "木智工坊测试产品2红色五人座",
                            "projectPrice": "3330",
                            "projectId": "18091200001123847",
                            "skuId": "18091500001344482",
                            "condetailId": "18091000001001231",
                            "saleStatus": "SALE",
                            "productOrderInfo": null,
                            "configureDetailPro": null,
                            "configureListDto": null,
                            "configureListDtoList": null
                        },
                        {
                            "id": "18091000001001231",
                            "createById": "0",
                            "createTime": 1536508800000,
                            "modifyById": "0",
                            "now": 1537419132367,
                            "projectCode": "CS_003",
                            "topImg": null,
                            "conName": null,
                            "conId": "18091000001000386",
                            "type": "PDT",
                            "conUrl": "upload/1809/1b38fbe8-caec-4876-98cf-09f414957ea8.jpg",
                            "isTo": "PDT",
                            "toUrl": "111",
                            "conNo": 2,
                            "projectImg": "https://goss.veer.com/creative/vcg/veer/800water/veer-133176765.jpg",
                            "projectName": "木智工坊测试产品2红色五人座",
                            "projectPrice": "3330",
                            "projectId": "18091200001123847",
                            "skuId": "18091500001344482",
                            "condetailId": "18091000001001231",
                            "saleStatus": "SALE",
                            "productOrderInfo": null,
                            "configureDetailPro": null,
                            "configureListDto": null,
                            "configureListDtoList": null
                        },
                        {
                            "id": "18091000001001231",
                            "createById": "0",
                            "createTime": 1536508800000,
                            "modifyById": "0",
                            "now": 1537419132367,
                            "projectCode": "CS_003",
                            "topImg": null,
                            "conName": null,
                            "conId": "18091000001000386",
                            "type": "PDT",
                            "conUrl": "upload/1809/1b38fbe8-caec-4876-98cf-09f414957ea8.jpg",
                            "isTo": "PDT",
                            "toUrl": "111",
                            "conNo": 2,
                            "projectImg": "https://goss.veer.com/creative/vcg/veer/800water/veer-133176765.jpg",
                            "projectName": "木智工坊测试产品2红色五人座",
                            "projectPrice": "3330",
                            "projectId": "18091200001123847",
                            "skuId": "18091500001344482",
                            "condetailId": "18091000001001231",
                            "saleStatus": "SALE",
                            "productOrderInfo": null,
                            "configureDetailPro": null,
                            "configureListDto": null,
                            "configureListDtoList": null
                        }
                    ]
                }
            ]
        }
    
    }
});